package Box2D.Common
{
	public class b2Settings
	{
		public static const b2_maxManifoldPoints:int = 2;
		public static const b2_maxPolygonVertices:int = 8;
		
		public static function b2Assert(a:Boolean):void{
			if(a)
				return;
			throw "Assertion Failed";
		}
		
		public static function get b2_gjkCalls():int{return b2Base.impl.lib.b2_gjkCalls_get()}
		public static function set b2_gjkCalls(value:int):void{b2Base.impl.lib.b2_gjkCalls_set(value)}

		public static function get b2_gjkIters():int{return b2Base.impl.lib.b2_gjkIters_get()}
		public static function set b2_gjkIters(value:int):void{b2Base.impl.lib.b2_gjkIters_set(value)}

		public static function get b2_gjkMaxIters():int{return b2Base.impl.lib.b2_gjkMaxIters_get()}
		public static function set b2_gjkMaxIters(value:int):void{b2Base.impl.lib.b2_gjkMaxIters_set(value)}

		public static function get b2_toiCalls():int{return b2Base.impl.lib.b2_toiCalls_get()}
		public static function set b2_toiCalls(value:int):void{b2Base.impl.lib.b2_toiCalls_set(value)}

		public static function get b2_toiIters():int{return b2Base.impl.lib.b2_toiIters_get()}
		public static function set b2_toiIters(value:int):void{b2Base.impl.lib.b2_toiIters_set(value)}

		public static function get b2_toiMaxIters():int{return b2Base.impl.lib.b2_toiMaxIters_get()}
		public static function set b2_toiMaxIters(value:int):void{b2Base.impl.lib.b2_toiMaxIters_set(value)}

		public static function get b2_toiRootIters():int{return b2Base.impl.lib.b2_toiRootIters_get()}
		public static function set b2_toiRootIters(value:int):void{b2Base.impl.lib.b2_toiRootIters_set(value)}

		public static function get b2_toiMaxRootIters():int{return b2Base.impl.lib.b2_toiMaxRootIters_get()}
		public static function set b2_toiMaxRootIters(value:int):void{b2Base.impl.lib.b2_toiMaxRootIters_set(value)}
		
		public static function get b2_version():b2Version{return new b2Version(b2Base.impl.lib.b2_version_get())}

	}
}